home *** CD-ROM | disk | FTP | other *** search
- on spinslot
- puppetSprite(7, 1)
- puppetSprite(8, 1)
- puppetSprite(9, 1)
- repeat with channel = 7 to 9
- set spin to random(32)
- repeat while spin > 0
- set icon to random(7)
- set the memberNum of sprite channel to icon
- puppetSound(0)
- puppetSound("SLOTBLIP.AIF")
- updateStage()
- startTimer()
- repeat while the timer < 3
- nothing()
- end repeat
- set spin to spin - 1
- end repeat
- end repeat
- if (the memberNum of sprite 7 = 7) and (the memberNum of sprite 8 = 7) then
- if the memberNum of sprite 9 = 7 then
- go("WIN")
- end if
- else
- if (the memberNum of sprite 7 = the memberNum of sprite 8) and (the memberNum of sprite 8 = the memberNum of sprite 9) then
- go("WIN")
- else
- if (the memberNum of sprite 7 = 7) and (the memberNum of sprite 8 = the memberNum of sprite 9) then
- go("WIN")
- else
- if (the memberNum of sprite 8 = 7) and (the memberNum of sprite 7 = the memberNum of sprite 9) then
- go("WIN")
- else
- if (the memberNum of sprite 9 = 7) and (the memberNum of sprite 7 = the memberNum of sprite 8) then
- go("WIN")
- else
- if (the memberNum of sprite 7 = 7) and (the memberNum of sprite 8 = 7) then
- go("WIN")
- else
- if (the memberNum of sprite 7 = 7) and (the memberNum of sprite 9 = 7) then
- go("WIN")
- else
- if (the memberNum of sprite 8 = 7) and (the memberNum of sprite 9 = 7) then
- go("WIN")
- else
- if (the memberNum of sprite 7 = 6) and (the memberNum of sprite 8 = 6) then
- go("WIN")
- else
- if (the memberNum of sprite 8 = 6) and (the memberNum of sprite 9 = 6) then
- go("WIN")
- else
- if (the memberNum of sprite 7 = 6) and (the memberNum of sprite 9 = 6) then
- go("WIN")
- else
- put "Sorry... try again..." into field "Credits"
- go("SLOT2")
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-